<form action="login.php" method="post">
  用户名：<input type="text" name="user">
  密码：<input type="password" name="pass">
 <input type="submit" value="提交">
</form>